package com.bootdo.clouddo.domain.sys;

import javax.persistence.Column;
import javax.persistence.Id;
import java.io.Serializable;
import java.sql.Timestamp;


public class SysSmsLog implements Serializable{

	private static final long serialVersionUID = -6130511041122990743L;

	/**
	 * 短信类型：注册验证码
	 */
	public static final String TYPE_REGISTER = "register";
	
	/**
	 * 短信类型：登陆
	 */
	public static final String TYPE_LOGIN = "login";
	
	/**
	 * 短信类型：密码重置
	 */
	public static final String TYPE_RESET_PWD = "password_reset";
	
	
	/**
	 * 短信类型：其他
	 */
	public static final String TYPE_OTHER = "other";
	
	@Id
	@Column(name="ID", unique=true)
	private Long id;
	
	private Timestamp sendTime;
	
	private String type;
	
	private String content;
	
	private String mobile;
	
	public String getMobile() {
		return mobile;
	}

	public void setMobile(String mobile) {
		this.mobile = mobile;
	}

	/**
	 * 短信接口发送结果
	 */
	private String statusMsg;
	
	public String getStatusMsg() {
		return statusMsg;
	}

	public void setStatusMsg(String statusMsg) {
		this.statusMsg = statusMsg;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Timestamp getSendTime() {
		return sendTime;
	}

	public void setSendTime(Timestamp sendTime) {
		this.sendTime = sendTime;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	
}
